<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>

<h2>用户信息：</h2>
  <br/>
    <p>----------------------上分割线----- ${user }------------------</p>
  <br/>

  <table>
    <tr>
      <th>Name</th>
      <th>Tel</th>
      <th>级别 </th>
      
    </tr>
    <tr>
      <td><b>${user.name} </b></td>
      <td>${user.tel}</td>
      <td>${user.classes}</td>
    </tr>
  </table>
  <table class="table-buttons">
  	<c:if test="${user.classes==1}">
  		<tr>
      	<td colspan="2" align="center">>
        	<a href="<c:url value="/becookie.html?user_id=${user.id} "/>">初始化机器</a>
      	</td>
    	</tr>
    </c:if>
    
    <tr>
      <td colspan="2" align="center">
      <a href="<c:out value="checkin.html?user_id=${user.id}" />" >去签到</a>
        
      </td>
    </tr>
   
  </table>

<br/>
<br/>  
<%@ include file="/WEB-INF/jsp/footer.jsp" %>
